package com.example.emos.wx.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("用户注册")
public class UserRegisterDTO {
    @ApiModelProperty("微信授权码")
    @NotBlank(message = "微信授权码不能为空")
    public String code;

    @ApiModelProperty("微信昵称")
    public String nickname;

    @ApiModelProperty("微信图像")
    public String photo;

    @ApiModelProperty("注册码")
    @NotBlank(message = "注册码不能为空")
    public String registerCode;
}
